package com.rd.student.jike.class2.lihongming.week724_730.Day728.DecoratorMode;



/**
 * @Auther:Heinrich
 * @Date:2023/7/28-07-28-14:47
 * @Description:c230728.DecoratorMode
 * @version:1.0
 */
public class Test {
    public static void main(String[] args) {
        Drink coffee = new latte();
        System.out.println(coffee.getDesc());
        System.out.println(coffee.getPrice());
        System.out.println(coffee.cost());

        milk mi  = new milk(coffee);
        System.out.println(mi.cost());
        System.out.println(mi.getDesc());

    }
}
